package com.service.imp;

import com.mapper.HuiFuMapper_db;
import com.pojo.HuiFu_db;
import com.service.HuiFuService_db;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HuiFuServiceImp_db implements HuiFuService_db {
    @Autowired
    private HuiFuMapper_db huiFuMapperDb;

    @Override
    public List<HuiFu_db> list(String stime, String etime, Integer id) {
        return huiFuMapperDb.list(stime, etime, id);
    }

    @Override
    public List<HuiFu_db> listAll() {
        return huiFuMapperDb.listAll();
    }

    @Override
    public List<HuiFu_db> listById(Integer jId) {
        return huiFuMapperDb.listById(jId);
    }

    @Override
    public Integer add(HuiFu_db huiFuDb) {
        return huiFuMapperDb.add(huiFuDb);
    }

    @Override
    public Integer update(HuiFu_db huiFuDb) {
        return huiFuMapperDb.update(huiFuDb);
    }

    @Override
    public Integer del(Integer hId) {
        return huiFuMapperDb.del(hId);
    }
}
